// Copyright 2022 a.o.smith ALL Rights Reserved
package com.liuxinlong.modules.dao.impl;

import com.liuxinlong.modules.dao.AssetsInvestmentLossRateDao;
import com.liuxinlong.modules.entity.InvestmentLossRate;
import com.liuxinlong.modules.mapper.AssetsInvestmentLossRateMapper;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * AssetsInvestmentLossRateDaoImpl
 *
 * @author liuxinlong@hotwater.com.cn
 * @version 1.0.0
 * @since 2024年09月25日
 */
@Service
public class AssetsInvestmentLossRateDaoImpl extends ServiceImpl<AssetsInvestmentLossRateMapper, InvestmentLossRate> implements AssetsInvestmentLossRateDao {

    @Override
    public List<InvestmentLossRate> pageInvestmentLossRateInfo(Map<String, Object> queryParam) {
        return baseMapper.pageInvestmentLossRateInfo(queryParam);
    }

    @Override
    public int getInvestmentLossRateInfoCount(Map<String, Object> queryParam) {
        return baseMapper.getInvestmentLossRateInfoCount(queryParam);
    }

    @Override
    public void deleteByInvestmentId(String investmentId) {
        baseMapper.deleteByInvestmentId(investmentId);
    }

}
